package com.sinven.pojo;


import java.util.Date;
import java.util.List;

public class User {
	private Integer u_id;//用户 
    private String u_name;//用户名 
	private String u_password;//密码 
	private String u_gender;//性别 
	private Integer u_age;//年龄 
	private String u_phone;//电话号码 
	private String u_email;//邮箱 
	private String u_introduction;//用户介绍 
	private String u_hobby;//爱好 
    private Date u_createtime;//创建时间 
	private Date u_updatetime;//更新时间 
	private Date u_lastlogin;//最后登录时间 
	private String  u_state;//状态 
	private  Date u_lock;//锁定时间 
	private Picture u_imgid;//头像 
	private UserType u_type;//用户类型 

	public Picture getU_imgid() {
		return u_imgid;
	}
	public void setU_imgid(Picture u_imgid) {
		this.u_imgid = u_imgid;
	}
	public UserType getU_type() {
		return u_type;
	}
	public void setU_type(UserType u_type) {
		this.u_type = u_type;
	}
	public Integer getU_id() {
		return u_id;
	}
	public void setU_id(Integer u_id) {
		this.u_id = u_id;
	}
	public String getU_name() {
		return u_name;
	}
	public void setU_name(String u_name) {
		this.u_name = u_name;
	}
	public String getU_password() {
		return u_password;
	}
	public void setU_password(String u_password) {
		this.u_password = u_password;
	}
	public String getU_gender() {
		return u_gender;
	}
	public void setU_gender(String u_gender) {
		this.u_gender = u_gender;
	}
	public Integer getU_age() {
		return u_age;
	}
	public void setU_age(Integer u_age) {
		this.u_age = u_age;
	}
	public String getU_phone() {
		return u_phone;
	}
	public void setU_phone(String u_phone) {
		this.u_phone = u_phone;
	}
	public String getU_email() {
		return u_email;
	}
	public void setU_email(String u_email) {
		this.u_email = u_email;
	}
	public String getU_introduction() {
		return u_introduction;
	}
	public void setU_introduction(String u_introduction) {
		this.u_introduction = u_introduction;
	}
	public String getU_hobby() {
		return u_hobby;
	}
	public void setU_hobby(String u_hobby) {
		this.u_hobby = u_hobby;
	}
	public Date getU_createtime() {
		return u_createtime;
	}
	public void setU_createtime(Date u_createtime) {
		this.u_createtime = u_createtime;
	}
	public Date getU_updatetime() {
		return u_updatetime;
	}
	public void setU_updatetime(Date u_updatetime) {
		this.u_updatetime = u_updatetime;
	}
	public Date getU_lastlogin() {
		return u_lastlogin;
	}
	public void setU_lastlogin(Date u_lastlogin) {
		this.u_lastlogin = u_lastlogin;
	}
	public String getU_state() {
		return u_state;
	}
	public void setU_state(String u_state) {
		this.u_state = u_state;
	}
	public Date getU_lock() {
		return u_lock;
	}
	public void setU_lock(Date u_lock) {
		this.u_lock = u_lock;
	}
	public  List<User> findAllUser() {
		
		return null;
	}

	public List<User> findAll(int startIndex, int pagesize) {
		
		return null;
	}
	
	@Override
	public String toString() {
		return "User [u_id=" + u_id + ", u_name=" + u_name + ", u_password=" + u_password + ", u_gender=" + u_gender
				+ ", u_age=" + u_age + ", u_phone=" + u_phone + ", u_email=" + u_email + ", u_introduction="
				+ u_introduction + ", u_hobby=" + u_hobby + ", u_createtime=" + u_createtime + ", u_updatetime="
				+ u_updatetime + ", u_lastlogin=" + u_lastlogin + ", u_state=" + u_state + ", u_lock=" + u_lock
				+ ", u_imgid=" + u_imgid + ", u_type=" + u_type + "]";
	}
	

}
